You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY hpos ASC' at line 1
Fehler: SELECT id, name, pagealias, sub1alias, sub2alias FROM web_pages WHERE active = 1 AND memberof = ORDER BY hpos ASC